projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81fc9a7
)
* lisp/emacs-lisp/syntax.el (syntax-propertize): Flush extended region.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 22 Jun 2016 13:44:24 +0000
(09:44 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 22 Jun 2016 13:44:24 +0000
(09:44 -0400)
lisp/emacs-lisp/syntax.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/syntax.el
b/lisp/emacs-lisp/syntax.el
index 31fc67ec8156fe1c44ab9a8b93a446ea540df24f..ac509b3465d40db0c37565891dc6c1536a047342 100644
(file)
--- a/
lisp/emacs-lisp/syntax.el
+++ b/
lisp/emacs-lisp/syntax.el
@@
-316,6
+316,9
@@
END) suitable for `syntax-propertize-function'."
(unless (eq funs
(cdr syntax-propertize-extend-region-functions))
(setq funs syntax-propertize-extend-region-functions)))))
+ ;; Flush ppss cache between the original value of `start' and that
+ ;; set above by syntax-propertize-extend-region-functions.
+ (syntax-ppss-flush-cache start)
;; Move the limit before calling the function, so the function
;; can use syntax-ppss.
(setq syntax-propertize--done end)